package cn.akwangl.design.pattern.behavioral.strategy.v2;

import javax.swing.*;

public class BraisedCrabs extends JLabel implements CrabCooking{
    @Override
    public void cookingMethod() {
        this.setIcon(new ImageIcon(ClassLoader.getSystemResource("strategy/BraisedCrabs.jpg")));
        this.setHorizontalAlignment(CENTER);
    }
}
